/*
 * @Author:
 * @Date: 2022-09-01 10:15:41
 * @LastEditors:
 * @LastEditTime: 2022-09-09 10:22:33
 * @FilePath: \new-approve\src\services\commonOssSts.ts
 * @Description:
 *
 * Copyright (c) 2022 by  , All Rights Reserved.
 */
import request from '@/utils/request';

/**
 * 图片上传 阿里 oss
 * */
export async function ossSts() {
  return request('/oss/sts', {
    method: 'post',
    prefix: process.env.COMMON_API,
  });
}


/*
 * 图片上传 华为 obs
 * */
export async function obsSts() {
  return request('/api/oss/config')
}
